package com.lulin.mall.auth.server.fegin;

import com.lulin.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 远程调用接口
 *
 * @author lulin
 * @date 2022/12/6 14:58
 */
@FeignClient(name = "mall-third")
public interface ThirdPartFeginService {

    @GetMapping("/sms/sendSmsCode")
    R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
